#!/usr/bin/env python

import logging

import gtk
import gobject
import gettext

from syncmach.models import System
from syncmach.controllers  import MainController
from syncmach.views import MainView

from i18n.conf import _

logging.basicConfig(level=logging.DEBUG)

def main(argv=None):
    mainmodel = System()
    maincontroller = MainController(mainmodel)
    mainview = MainView(maincontroller)
    gobject.idle_add(maincontroller.update)
    # Starts the GTK toolkit
    gtk.main()

if __name__ == '__main__':
    import sys
    main(sys.argv)

# vim:set shiftwidth=4 tabstop=4 expandtab ci textwidth=79:
